@import "../global/detail.css";

.detail-info {
    display: flex;
    align-items: center;
    margin: 16px -20px 0;
    padding: 24px 20px;
    border-top: 1px solid #EEE;
    .avatar {
        img {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            box-shadow: 0 0 4px 0 rgba(0,0,0,0.06);
        }
    }
    .info {
        margin-left: 16px;
    }
    .title {
        font-size: 16px;
        line-height: 24px;
        color: #303133;
    }
    .sub-title {
        margin-top: 8px;
    }
    .option {
        margin-left: auto;
    }
}
.trend-wrap {
    height: 237px;
}
#mediaList {
    .grid-item {
        padding-bottom: 20px;
    }
}
.product-item {
    display: flex;
    align-items: center;
    .product-cover {
        img {
            width: 100px;
            height: 100px;
            box-shadow: 0 0 4px 0 rgba(0,0,0,.06);
        }
    }
    .product-info {
        margin-left: 12px;
        font-size: 14px;
        .title {
            overflow: hidden;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            text-overflow: ellipsis;
            display: -webkit-box;

            margin-top: 8px;
            line-height: 20px;
            color: #303133;
            font-weight: bold;
        }
        .sub-title {
            margin-top: 8px;
            line-height: 18px;
            color: #606266;
        }
    }
}
#productList {
    .grid-item {
        padding-bottom: 16px;
    }
    .data-list {
        margin-bottom: 20px;
    }
}
.blogger-item {
    display: flex;
    align-items: center;
    .brand-info {
        font-size: 14px;
        line-height: 20px;
        text-align: left;
        .title {
            display: flex;
            align-items: center;
            color: #303133;
            font-weight: bold;
            & > .category {
                margin-left: 12px;
            }
        }
        .sub-title {
            margin-top: 4px;
            color: #909399;
        }
    }
    .blogger-cover {
        position: relative;
        margin-right: 16px;
    }
    .cover {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        display: block;
    }
    .auth {
        position: absolute;
        right: 0;
        bottom: 0;
    }
}
.inner-header {
    .header__left {
        display: none;
    }
}

#partnerWrap {
    .grid-item {
        padding-bottom: 16px;
        .title {
            max-width: 200px;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .sub-title {
            max-width: 200px;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .category {
            min-width: 50px;
            max-width: 200px;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .bottom {
            border-top: 1px solid #EEE;
            margin-top: 16px;
        }
    }
}
#partnerList {
    min-height: 200px;
}
@media only screen and (min-width: 1024px) {
    .detail-info {
        padding: 24px;
        border: 1px solid #DCDFE6;
        border-radius: 6px;
        margin: 40px 0 0;
        .avatar {
            img {
                width: 80px;
                height: 80px;
                border-radius: 50%;
            }
        }
    }
    .trend-wrap {
        height: 292px;
    }
    .inner-header {
        font-size: 14px;
        line-height: 24px;
        .header__left {
            display: block;
        }
        .sub-title {
            line-height: 20px;
            white-space: nowrap;
        }
        .gd-select {
            display: none;
        }
    }
    .grid-item {
        cursor: pointer;
    }
    .partner-item {
        text-align: center;
        flex-direction: column;
        text-align: center;
        .partner-cover {
            flex-direction: column;
            img {
                width: 64px;
                height: 64px;
            }
            img.avatar__affix {
                right: 35%;
            }
        }
        .partner-info {
            margin-top: 12px;
            display: block;
            .category {
                margin: 12px auto auto auto;
            }
            .sub-title {
                margin-top: 0;
            }
        }
    }
    #accountList {
        .data-list {
            margin-top: auto;
        }
        .category {
            margin-bottom: 20px;
        }
    }
    .blogger-item {
        flex-direction: column;
        .blogger-cover {
            margin-right: 0;
        }
        .cover {
            width: 64px;
            height: 64px;
        }

        .sub-title {
            margin-top: 2px;
        }
        & > .category {
            margin-top: 12px;
        }
        .brand-info {
            text-align: center;
            .title {
                margin-top: 12px;
                justify-content: center;
            }
        }
    }
}
